package com.langshixiaobai.mapper;

import com.langshixiaobai.eneity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    //插入用户
    void insertUser(User user);
    //查询用户
    User selectUser(String username);

    void updateWinner(Integer userId);

    void  updateLoser(Integer userId);

}
